<?php
header("content-type: text/xml");
$where = $_GET['where'];
$xmlData = file_get_contents_utf8("http://www.google.de/ig/api?weather=$where");
echo $xmlData;

function file_get_contents_utf8($fn) {
     $content = file_get_contents($fn);
      return mb_convert_encoding($content, 'UTF-8',
          mb_detect_encoding($content, 'UTF-8, ISO-8859-1', true));
}


?>
